#pragma once

# if defined(TXR_ALGO_DLM_SEGMENT_V1_LIB)
#  define TXR_ALGO_DLM_SEGMENT_V1_EXPORT Q_DECL_EXPORT
# else
#  define TXR_ALGO_DLM_SEGMENT_V1_EXPORT Q_DECL_IMPORT
# endif
#include "../txr_algo_dlm_seg/txr_algo_dlm_seg_impl.h"

namespace yolo_v6
{
	class YoloV6;
}//namespace yolo_v6
using namespace yolo_v6;

namespace txr_algo_dlm_seg
{
class TxrAlgoDlmSegV1 : public TxrAlgoDlmSegImpl
{
public:
	TxrAlgoDlmSegV1();
	~TxrAlgoDlmSegV1();

	tk_bool Load(st_dlm_cfg & cfg);
	void Release();

	void Detect(st_detect_unit * p_unit, tk_int32 size);
private:
	YoloV6 * m_p_detect;
};
}//namespace txr_algo_dlm_seg